<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
        
        <link type="text/css" rel="stylesheet" href="./primefaces-hot-sneaks/theme.css"/>
    </h:head>
    
    <h:form>
        <p:dataTable id="tbl" var="lib" value="#{libro.messages}">
        <p:column filterBy="#{lib.idLibro}">
                    <f:facet name="header">
                        <h:outputText value="ID DEL LIBRO"/>
                    </f:facet>
           <h:outputText value="#{lib.idLibro}"/>
                </p:column>
                
        <p:column filterBy="#{lib.titulo}">
                    <f:facet name="header">
                        <h:outputText value="TITULO DEL LIBRO"/>
                    </f:facet>
           <h:outputText value="#{lib.titulo}"/>
                </p:column>
        <p:column filterBy="#{lib.autor}">
        <f:facet name="header">
                        <h:outputText value="AUTOR DEL LIBRO"/>
                    </f:facet>
           <h:outputText value="#{lib.autor}"/>
                </p:column>
    </p:dataTable>
    </h:form>
</html>

